//
//  HEShopCarModel.m
//  HealthFamily
//
//  Created by 吴欧 on 2020/10/27.
//  Copyright © 2020 honglutec. All rights reserved.
//

#import "HEShopCarModel.h"

@implementation HEShopCarHeadModel

- (NSMutableArray<HEShopCarModel *> *)goodsList {
    if (!_goodsList) {
        _goodsList = [NSMutableArray array];
    }
    return _goodsList;
}

- (BOOL)isEqual:(id)object {
    if (self == object) {
        return YES;
    }
    
    if (object == nil) {
        return NO;
    }
    
    HEShopCarHeadModel *other = (HEShopCarHeadModel *)object;
    
    return other.storeId != 0 && other.storeId == self.storeId;
}

- (NSUInteger)hash{
    int prime = 31;
    long result = 1;
    result = prime * result + ((self.storeId > 0) ? 0 : self.storeId);
    return result;
}

 
@end

@implementation HEShopCarModel

- (void)dealloc {
    
}

@end
